Searched refs:oiv (Results 1 – 14 of 14) sorted by relevance
/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon.c | 211 memcpy(ctx->iv, ctx->oiv, ctx->ivlen); in cipher_generic_init_internal() 592 && !OSSL_PARAM_set_octet_ptr(p, &ctx->oiv, ctx->ivlen) in ossl_cipher_generic_get_ctx_params() 593 && !OSSL_PARAM_set_octet_string(p, &ctx->oiv, ctx->ivlen)) { in ossl_cipher_generic_get_ctx_params() 688 memcpy(ctx->oiv, iv, ivlen); in ossl_cipher_generic_initiv()
|
H A D | cipher_chacha20_hw.c | 35 ctx->counter[i / 4] = CHACHA_U8TOU32(bctx->oiv + i); in chacha20_initiv()
|
H A D | cipher_aes_cbc_hmac_sha.c | 274 && !OSSL_PARAM_set_octet_string(p, ctx->base.oiv, ctx->base.ivlen) in aes_get_ctx_params() 275 && !OSSL_PARAM_set_octet_ptr(p, &ctx->base.oiv, ctx->base.ivlen)) { in aes_get_ctx_params()
|
H A D | cipher_tdes_common.c | 99 memcpy(ctx->iv, ctx->oiv, ctx->ivlen); in tdes_init()
|
H A D | cipher_des.c | 89 memcpy(ctx->iv, ctx->oiv, ctx->ivlen); in des_init()
|
H A D | cipher_aes_ocb.c | 446 if (!OSSL_PARAM_set_octet_string(p, ctx->base.oiv, ctx->base.ivlen) in aes_ocb_get_ctx_params() 447 && !OSSL_PARAM_set_octet_ptr(p, &ctx->base.oiv, ctx->base.ivlen)) { in aes_ocb_get_ctx_params()
|
H A D | cipher_chacha20_poly1305_hw.c | 89 memcpy(tempiv + CHACHA_CTR_SIZE - noncelen, bctx->oiv, in chacha20_poly1305_initiv()
|
/openssl/crypto/evp/ |
H A D | e_rc2.c | 165 i = ASN1_TYPE_set_int_octetstring(type, num, c->oiv, j); in rc2_set_asn1_type_and_iv()
|
H A D | evp_lib.c | 70 unsigned char *oiv = NULL; in EVP_CIPHER_set_asn1_iv() local 73 oiv = (unsigned char *)EVP_CIPHER_CTX_original_iv(c); in EVP_CIPHER_set_asn1_iv() 76 i = ASN1_TYPE_set_octetstring(type, oiv, j); in EVP_CIPHER_set_asn1_iv() 544 const unsigned char *v = ctx->oiv; in EVP_CIPHER_CTX_original_iv() 549 (void **)&v, sizeof(ctx->oiv)); in EVP_CIPHER_CTX_original_iv()
|
H A D | evp_local.h | 42 unsigned char oiv[EVP_MAX_IV_LENGTH]; /* original iv */ member
|
H A D | evp_enc.c | 411 memcpy(ctx->oiv, iv, n); in evp_cipher_init_internal() 412 memcpy(ctx->iv, ctx->oiv, n); in evp_cipher_init_internal()
|
H A D | e_aes.c | 1052 const unsigned char *iv = ctx->oiv; in s390x_aes_ofb_init_key() 1118 const unsigned char *iv = ctx->oiv; in s390x_aes_cfb_init_key() 1203 const unsigned char *iv = ctx->oiv; in s390x_aes_cfb8_init_key()
|
/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon.h | 51 unsigned char oiv[GENERIC_BLOCK_SIZE]; member
|
/openssl/test/ |
H A D | evp_extra_test.c | 3740 unsigned char ciphertext[32], oiv[16], iv[16]; in test_evp_iv_aes() local 3847 || !TEST_true(EVP_CIPHER_CTX_get_original_iv(ctx, oiv, sizeof(oiv))) in test_evp_iv_aes() 3856 if (!TEST_mem_eq(init_iv, ivlen, oiv, ivlen) in test_evp_iv_aes() 3897 unsigned char ciphertext[32], oiv[8], iv[8]; in test_evp_iv_des() local 3964 || !TEST_true(EVP_CIPHER_CTX_get_original_iv(ctx, oiv, sizeof(oiv))) in test_evp_iv_des() 3973 if (!TEST_mem_eq(init_iv, ivlen, oiv, ivlen) in test_evp_iv_des()
|
Completed in 61 milliseconds