Searched refs:CRYPTO_BITS2BYTES (Results 1 – 7 of 7) sorted by relevance
372 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha2_mac_init()563 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha2_mac_atomic()666 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha2_mac_verify_atomic()807 uint_t keylen_in_bytes = CRYPTO_BITS2BYTES(key->ck_length); in sha2_create_ctx_template()
46 #define CRYPTO_BITS2BYTES(n) ((n) == 0 ? 0 : (((n) - 1) >> 3) + 1) macro
120 #define CRYPTO_BITS2BYTES(n) ((n) == 0 ? 0 : (((n) - 1) >> 3) + 1) macro
63 size_t cl_bytes = CRYPTO_BITS2BYTES(c_key->ck_length); in crypto_mac_init()
70 keysize = CRYPTO_BITS2BYTES(keyBits); in aes_init_keysched()
102 CRYPTO_BITS2BYTES(wkey->wk_key.ck_length)); in dsl_wrapping_key_free()104 CRYPTO_BITS2BYTES(wkey->wk_key.ck_length)); in dsl_wrapping_key_free()
612 tag_len = CRYPTO_BITS2BYTES(tbits); in gcm_init_ctx()