Home
last modified time | relevance | path

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

/openssl/test/
H A Dbio_pw_callback_test.c154 static int re_encrypt_key(char **enc_data, int *enc_data_size, in re_encrypt_key() argument
165 if (!TEST_ptr(enc_data_size)) in re_encrypt_key()
187 *enc_data_size = BIO_get_mem_data(bio, enc_data); in re_encrypt_key()
199 static int decrypt_key(char *enc_data, int enc_data_size, in decrypt_key() argument
209 if (!TEST_ptr(bio = BIO_new_mem_buf(enc_data, enc_data_size))) in decrypt_key()
244 int enc_data_size = 0; in full_cycle_test() local
248 if (!re_encrypt_key(&enc_data, &enc_data_size, key_encoding)) in full_cycle_test()
251 if (!decrypt_key(enc_data, enc_data_size, key_encoding, in full_cycle_test()

Completed in 5 milliseconds