diff options
Diffstat (limited to 'providers/implementations/ciphers/cipher_aria_hw.c')
-rw-r--r-- | providers/implementations/ciphers/cipher_aria_hw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/providers/implementations/ciphers/cipher_aria_hw.c b/providers/implementations/ciphers/cipher_aria_hw.c index 8e114b3ba1..425d87a65e 100644 --- a/providers/implementations/ciphers/cipher_aria_hw.c +++ b/providers/implementations/ciphers/cipher_aria_hw.c @@ -18,15 +18,15 @@ static int cipher_hw_aria_initkey(PROV_CIPHER_CTX *dat, ARIA_KEY *ks = &adat->ks.ks; if (dat->enc || (mode != EVP_CIPH_ECB_MODE && mode != EVP_CIPH_CBC_MODE)) - ret = aria_set_encrypt_key(key, keylen * 8, ks); + ret = ossl_aria_set_encrypt_key(key, keylen * 8, ks); else - ret = aria_set_decrypt_key(key, keylen * 8, ks); + ret = ossl_aria_set_decrypt_key(key, keylen * 8, ks); if (ret < 0) { ERR_raise(ERR_LIB_PROV, PROV_R_KEY_SETUP_FAILED); return 0; } dat->ks = ks; - dat->block = (block128_f)aria_encrypt; + dat->block = (block128_f)ossl_aria_encrypt; return 1; } |