Searched refs:authlen (Results 1 – 9 of 9) sorted by relevance
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/openssl-tpm-engine/files/ |
H A D | 0002-libtpm-support-env-TPM_SRK_PW.patch | 33 + int authlen = 0; 53 + authlen = TPM_WELL_KNOWN_KEY_LEN; 59 + authlen = strlen(auth); 71 + authlen = strlen(auth); 79 + authlen, auth))) {
|
H A D | 0001-create-tpm-key-support-well-known-key-option.patch | 64 + int authlen = 0; 80 + authlen = TPM_WELL_KNOWN_KEY_LEN; 90 + authlen = strlen(authdata); 98 + authlen,
|
H A D | 0003-tpm-openssl-tpm-engine-parse-an-encrypted-tpm-SRK-pa.patch | 187 + auth, &authlen)) { 203 authlen = strlen(auth);
|
/openbmc/linux/net/mac802154/ |
H A D | llsec.c | 649 if (crypto_aead_authsize(key->tfm[i]) == authlen) in llsec_tfm_by_len() 662 int authlen, assoclen, datalen, rc; in llsec_do_encrypt_auth() local 666 authlen = ieee802154_sechdr_authtag_len(&hdr->sec); in llsec_do_encrypt_auth() 678 skb_put(skb, authlen); in llsec_do_encrypt_auth() 712 int rc, authlen, hlen; in mac802154_llsec_encrypt() local 730 authlen = ieee802154_sechdr_authtag_len(&hdr.sec); in mac802154_llsec_encrypt() 871 int authlen, datalen, assoclen, rc; in llsec_do_decrypt_auth() local 875 authlen = ieee802154_sechdr_authtag_len(&hdr->sec); in llsec_do_decrypt_auth() 890 assoclen += datalen - authlen; in llsec_do_decrypt_auth() 891 datalen = authlen; in llsec_do_decrypt_auth() [all …]
|
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | spmobj-attributes.c | 44 size_t size, authlen; in hp_calculate_security_buffer() local 49 authlen = strlen(authentication); in hp_calculate_security_buffer() 50 if (!authlen) in hp_calculate_security_buffer() 53 size = sizeof(u16) + authlen * sizeof(u16); in hp_calculate_security_buffer()
|
/openbmc/linux/drivers/crypto/ |
H A D | omap-aes-gcm.c | 96 unsigned int authlen = crypto_aead_authsize(aead); in omap_aes_gcm_copy_buffers() local 108 cryptlen -= authlen; in omap_aes_gcm_copy_buffers() 151 dd->authsize = authlen; in omap_aes_gcm_copy_buffers() 243 unsigned int authlen = crypto_aead_authsize(aead); in omap_aes_gcm_crypt() local 260 scatterwalk_map_and_copy(rctx->auth_tag, req->dst, 0, authlen, in omap_aes_gcm_crypt()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ipsec.c | 528 const int authlen = IXGBE_IPSEC_AUTH_BITS / 8; in ixgbevf_ipsec_tx() local 533 ret = skb_copy_bits(skb, skb->len - (authlen + 2), in ixgbevf_ipsec_tx() 537 itd->trailer_len = authlen + 2 + padlen; in ixgbevf_ipsec_tx()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ipsec.c | 1135 const int authlen = IXGBE_IPSEC_AUTH_BITS / 8; in ixgbe_ipsec_tx() local 1140 ret = skb_copy_bits(skb, skb->len - (authlen + 2), in ixgbe_ipsec_tx() 1144 itd->trailer_len = authlen + 2 + padlen; in ixgbe_ipsec_tx()
|
/openbmc/linux/fs/ceph/ |
H A D | mds_client.c | 2832 u32 authlen = ceph_fscrypt_auth_len(req->r_fscrypt_auth); in encode_mclientrequest_tail() local 2834 ceph_encode_32(p, authlen); in encode_mclientrequest_tail() 2835 ceph_encode_copy(p, req->r_fscrypt_auth, authlen); in encode_mclientrequest_tail()
|