Home
last modified time | relevance | path

Searched refs:SHA256_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance

/f-stack/dpdk/drivers/crypto/armv8/
H A Darmv8_pmd_private.h81 #define SHA256_BLOCK_SIZE (BYTE_LENGTH(512)) macro
87 #define SHA_BLOCK_MAX SHA256_BLOCK_SIZE
H A Drte_armv8_pmd.c306 memset(sess->auth.hmac.key, 0, SHA256_BLOCK_SIZE); in auth_set_prerequisites()
323 partial, SHA256_BLOCK_SIZE); in auth_set_prerequisites()
326 memcpy(sess->auth.hmac.i_key_pad, partial, SHA256_BLOCK_SIZE); in auth_set_prerequisites()
330 partial, SHA256_BLOCK_SIZE); in auth_set_prerequisites()
333 memcpy(sess->auth.hmac.o_key_pad, partial, SHA256_BLOCK_SIZE); in auth_set_prerequisites()
/f-stack/dpdk/drivers/crypto/ccp/
H A Dccp_crypto.h59 #define SHA256_BLOCK_SIZE 64 macro
H A Dccp_crypto.c890 if (auth_xform->key.length > SHA256_BLOCK_SIZE) in ccp_configure_session_auth()
894 sess->auth.block_size = SHA256_BLOCK_SIZE; in ccp_configure_session_auth()
900 if (auth_xform->key.length > SHA256_BLOCK_SIZE) in ccp_configure_session_auth()
907 sess->auth.block_size = SHA256_BLOCK_SIZE; in ccp_configure_session_auth()