Searched refs:sessionKey (Results 1 – 2 of 2) sorted by relevance
/dragonfly/crypto/libressl/crypto/gost/ |
H A D | gost89_keywrap.c | 97 const unsigned char *ukm, const unsigned char *sessionKey, in gost_key_wrap_crypto_pro() argument 107 Gost2814789_encrypt(sessionKey + 0, wrappedKey + 8 + 0, &ctx); in gost_key_wrap_crypto_pro() 108 Gost2814789_encrypt(sessionKey + 8, wrappedKey + 8 + 8, &ctx); in gost_key_wrap_crypto_pro() 109 Gost2814789_encrypt(sessionKey + 16, wrappedKey + 8 + 16, &ctx); in gost_key_wrap_crypto_pro() 110 Gost2814789_encrypt(sessionKey + 24, wrappedKey + 8 + 24, &ctx); in gost_key_wrap_crypto_pro() 117 const unsigned char *wrappedKey, unsigned char *sessionKey) in gost_key_unwrap_crypto_pro() argument 126 Gost2814789_decrypt(wrappedKey + 8 + 0, sessionKey + 0, &ctx); in gost_key_unwrap_crypto_pro() 127 Gost2814789_decrypt(wrappedKey + 8 + 8, sessionKey + 8, &ctx); in gost_key_unwrap_crypto_pro() 128 Gost2814789_decrypt(wrappedKey + 8 + 16, sessionKey + 16, &ctx); in gost_key_unwrap_crypto_pro() 129 Gost2814789_decrypt(wrappedKey + 8 + 24, sessionKey + 24, &ctx); in gost_key_unwrap_crypto_pro() [all …]
|
H A D | gost_locl.h | 95 unsigned char *sessionKey); 98 const unsigned char *sessionKey, unsigned char *wrappedKey);
|