Lines Matching refs:out_len
70 unsigned char **out, size_t *out_len) in pkey_get_bn_bytes() argument
85 *out_len = sz; in pkey_get_bn_bytes()
415 unsigned char **out, size_t *out_len) in pkey_get_octet_bytes() argument
427 if (!EVP_PKEY_get_octet_string_param(pkey, name, buf, len, out_len)) in pkey_get_octet_bytes()
876 int ret = 0, out_len = 0, len = 0; in cipher_enc() local
887 || !TEST_true(EVP_CipherFinal_ex(ctx, out + len, &out_len))) in cipher_enc()
889 out_len += len; in cipher_enc()
890 if (!TEST_mem_eq(out, out_len, ct, ct_len)) in cipher_enc()
926 int out_len, len; in aes_ccm_enc_dec() local
950 if (!TEST_true(EVP_CipherFinal_ex(ctx, out + len, &out_len))) in aes_ccm_enc_dec()
953 out_len += len; in aes_ccm_enc_dec()
955 tag_len, out + out_len), 0) in aes_ccm_enc_dec()
956 || !TEST_mem_eq(out, out_len, ct, ct_len) in aes_ccm_enc_dec()
957 || !TEST_mem_eq(out + out_len, tag_len, tag, tag_len)) in aes_ccm_enc_dec()
960 if (!TEST_mem_eq(out, out_len + len, ct, ct_len)) in aes_ccm_enc_dec()
1009 unsigned char *out, int *out_len, in aes_gcm_enc_dec() argument
1081 if (out_len != NULL) in aes_gcm_enc_dec()
1082 *out_len = olen; in aes_gcm_enc_dec()
1121 int out_len = 0; in aes_gcm_gen_iv_internal_test() local
1129 enc, pass, out, &out_len, iv) in aes_gcm_gen_iv_internal_test()
1130 && aes_gcm_enc_dec(tst->alg, out, out_len, in aes_gcm_gen_iv_internal_test()
1133 tst->pt, tst->pt_len, out + out_len, tst->tag_len, in aes_gcm_gen_iv_internal_test()