Home
last modified time | relevance | path

Searched refs:CRYPTO_BITS2BYTES (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/openzfs/module/icp/io/
H A Dsha2_mod.c372 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()
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dfreebsd_crypto.h46 #define CRYPTO_BITS2BYTES(n) ((n) == 0 ? 0 : (((n) - 1) >> 3) + 1) macro
/freebsd/sys/contrib/openzfs/include/sys/crypto/
H A Dcommon.h120 #define CRYPTO_BITS2BYTES(n) ((n) == 0 ? 0 : (((n) - 1) >> 3) + 1) macro
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c63 size_t cl_bytes = CRYPTO_BITS2BYTES(c_key->ck_length); in crypto_mac_init()
/freebsd/sys/contrib/openzfs/module/icp/algs/aes/
H A Daes_impl.c70 keysize = CRYPTO_BITS2BYTES(keyBits); in aes_init_keysched()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_crypt.c102 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()
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c612 tag_len = CRYPTO_BITS2BYTES(tbits); in gcm_init_ctx()