Home
last modified time | relevance | path

Searched refs:oiv (Results 1 – 14 of 14) sorted by relevance

/openssl/providers/implementations/ciphers/
H A Dciphercommon.c211 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 Dcipher_chacha20_hw.c35 ctx->counter[i / 4] = CHACHA_U8TOU32(bctx->oiv + i); in chacha20_initiv()
H A Dcipher_aes_cbc_hmac_sha.c274 && !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 Dcipher_tdes_common.c99 memcpy(ctx->iv, ctx->oiv, ctx->ivlen); in tdes_init()
H A Dcipher_des.c89 memcpy(ctx->iv, ctx->oiv, ctx->ivlen); in des_init()
H A Dcipher_aes_ocb.c446 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 Dcipher_chacha20_poly1305_hw.c89 memcpy(tempiv + CHACHA_CTR_SIZE - noncelen, bctx->oiv, in chacha20_poly1305_initiv()
/openssl/crypto/evp/
H A De_rc2.c165 i = ASN1_TYPE_set_int_octetstring(type, num, c->oiv, j); in rc2_set_asn1_type_and_iv()
H A Devp_lib.c70 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 Devp_local.h42 unsigned char oiv[EVP_MAX_IV_LENGTH]; /* original iv */ member
H A Devp_enc.c411 memcpy(ctx->oiv, iv, n); in evp_cipher_init_internal()
412 memcpy(ctx->iv, ctx->oiv, n); in evp_cipher_init_internal()
H A De_aes.c1052 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 Dciphercommon.h51 unsigned char oiv[GENERIC_BLOCK_SIZE]; member
/openssl/test/
H A Devp_extra_test.c3740 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 112 milliseconds