Searched defs:pw2 (Results 1 - 1 of 1) sorted by relevance

/dovecot/src/lib-dcrypt/
H A Dtest-crypto.c704 const char *pw2 = "second password"; local
707 /* encrypt k1 with pw2 */
708 ret = dcrypt_key_store_private(k1_priv, DCRYPT_FORMAT_DOVECOT, "aes-256-ctr", buf3, pw2, NULL, &error);
711 /* load the pw2 encrypted key */
713 ret = dcrypt_key_load_private(&k2_priv, str_c(buf3), pw2, NULL, &error);
716 /* load the key that was encrypted with pw1 using the pw2 encrypted key */

Completed in 25 milliseconds