Home
last modified time | relevance | path

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

/external/dropbear/libtomcrypt/src/pk/dsa/
Ddsa_encrypt_key.c38 void *g_pub, *g_priv; in dsa_encrypt_key() local
61 if ((err = mp_init_multi(&g_pub, &g_priv, NULL)) != CRYPT_OK) { in dsa_encrypt_key()
74 mp_clear_multi(g_pub, g_priv, NULL); in dsa_encrypt_key()
86 if ((err = mp_read_unsigned_bin(g_priv, expt, x)) != CRYPT_OK) { in dsa_encrypt_key()
91 if ((err = mp_exptmod(key->g, g_priv, key->p, g_pub)) != CRYPT_OK) { in dsa_encrypt_key()
97 if ((err = dsa_shared_secret(g_priv, key->y, key, expt, &x)) != CRYPT_OK) { in dsa_encrypt_key()
127 mp_clear_multi(g_pub, g_priv, NULL); in dsa_encrypt_key()