Searched refs:icv (Results 1 – 8 of 8) sorted by relevance
/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_ccm_hw_s390x.inc | 88 sctx->ccm.s390x.kmac.icv.g[0] = 0; 89 sctx->ccm.s390x.kmac.icv.g[1] = 0; 103 sctx->ccm.s390x.kmac.icv.b[i] ^= aad[i]; 105 s390x_km(sctx->ccm.s390x.kmac.icv.b, 16, 168 sctx->ccm.s390x.kmac.icv.b[i] ^= in[len + i]; 170 s390x_km(sctx->ccm.s390x.kmac.icv.b, 16, 171 sctx->ccm.s390x.kmac.icv.b, 188 sctx->ccm.s390x.kmac.icv.b[i] ^= out[len + i]; 190 s390x_km(sctx->ccm.s390x.kmac.icv.b, 16, 191 sctx->ccm.s390x.kmac.icv.b, [all …]
|
H A D | cipher_tdes_wrap.c | 37 unsigned char icv[8], iv[TDES_IVLEN], sha1tmp[SHA_DIGEST_LENGTH]; in des_ede3_unwrap() local 47 ctx->hw->cipher(ctx, icv, in, 8); in des_ede3_unwrap() 61 BUF_reverse(icv, NULL, 8); in des_ede3_unwrap() 66 ctx->hw->cipher(ctx, icv, icv, 8); in des_ede3_unwrap() 68 && CRYPTO_memcmp(sha1tmp, icv, 8) == 0) in des_ede3_unwrap() 70 OPENSSL_cleanse(icv, 8); in des_ede3_unwrap()
|
/openssl/crypto/modes/ |
H A D | wrap128.c | 183 size_t CRYPTO_128_wrap_pad(void *key, const unsigned char *icv, in CRYPTO_128_wrap_pad() argument 206 if (!icv) in CRYPTO_128_wrap_pad() 209 memcpy(aiv, icv, 4); /* Standard doesn't mention this. */ in CRYPTO_128_wrap_pad() 251 size_t CRYPTO_128_unwrap_pad(void *key, const unsigned char *icv, in CRYPTO_128_unwrap_pad() argument 299 if ((!icv && CRYPTO_memcmp(aiv, default_aiv, 4)) in CRYPTO_128_unwrap_pad() 300 || (icv && CRYPTO_memcmp(aiv, icv, 4))) { in CRYPTO_128_unwrap_pad()
|
H A D | siv128.c | 131 SIV_BLOCK *icv) in siv128_do_encrypt() argument 135 if (!EVP_CipherInit_ex(ctx, NULL, NULL, NULL, icv->byte, 1)) in siv128_do_encrypt()
|
/openssl/crypto/evp/ |
H A D | e_des3.c | 322 unsigned char icv[8], iv[8], sha1tmp[SHA_DIGEST_LENGTH]; in des_ede3_unwrap() local 330 des_ede_cbc_cipher(ctx, icv, in, 8); in des_ede3_unwrap() 344 BUF_reverse(icv, NULL, 8); in des_ede3_unwrap() 349 des_ede_cbc_cipher(ctx, icv, icv, 8); in des_ede3_unwrap() 351 && CRYPTO_memcmp(sha1tmp, icv, 8) == 0) in des_ede3_unwrap() 353 OPENSSL_cleanse(icv, 8); in des_ede3_unwrap()
|
H A D | e_aes.c | 978 } icv; member 1841 ctx->aes.ccm.kmac_param.icv.g[0] = 0; in s390x_aes_ccm_aad() 1842 ctx->aes.ccm.kmac_param.icv.g[1] = 0; in s390x_aes_ccm_aad() 1856 ctx->aes.ccm.kmac_param.icv.b[i] ^= aad[i]; in s390x_aes_ccm_aad() 1858 s390x_km(ctx->aes.ccm.kmac_param.icv.b, 16, in s390x_aes_ccm_aad() 1859 ctx->aes.ccm.kmac_param.icv.b, ctx->aes.ccm.fc, in s390x_aes_ccm_aad() 1918 ctx->aes.ccm.kmac_param.icv.b[i] ^= in[len + i]; in s390x_aes_ccm() 1920 s390x_km(ctx->aes.ccm.kmac_param.icv.b, 16, in s390x_aes_ccm() 1940 s390x_km(ctx->aes.ccm.kmac_param.icv.b, 16, in s390x_aes_ccm() 1951 ctx->aes.ccm.kmac_param.icv.g[0] ^= ctx->aes.ccm.buf.g[0]; in s390x_aes_ccm() [all …]
|
/openssl/include/openssl/ |
H A D | modes.h | 176 size_t CRYPTO_128_wrap_pad(void *key, const unsigned char *icv, 179 size_t CRYPTO_128_unwrap_pad(void *key, const unsigned char *icv,
|
/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon_ccm.h | 27 } icv; member
|
Completed in 27 milliseconds