Lines Matching refs:sk
496 mbedtls_des_setkey( ctx->sk, key ); in mbedtls_des_setkey_enc()
508 mbedtls_des_setkey( ctx->sk, key ); in mbedtls_des_setkey_dec()
512 SWAP( ctx->sk[i ], ctx->sk[30 - i] ); in mbedtls_des_setkey_dec()
513 SWAP( ctx->sk[i + 1], ctx->sk[31 - i] ); in mbedtls_des_setkey_dec()
550 uint32_t sk[96]; in mbedtls_des3_set2key_enc() local
552 des3_set2key( ctx->sk, sk, key ); in mbedtls_des3_set2key_enc()
553 mbedtls_platform_zeroize( sk, sizeof( sk ) ); in mbedtls_des3_set2key_enc()
564 uint32_t sk[96]; in mbedtls_des3_set2key_dec() local
566 des3_set2key( sk, ctx->sk, key ); in mbedtls_des3_set2key_dec()
567 mbedtls_platform_zeroize( sk, sizeof( sk ) ); in mbedtls_des3_set2key_dec()
601 uint32_t sk[96]; in mbedtls_des3_set3key_enc() local
603 des3_set3key( ctx->sk, sk, key ); in mbedtls_des3_set3key_enc()
604 mbedtls_platform_zeroize( sk, sizeof( sk ) ); in mbedtls_des3_set3key_enc()
615 uint32_t sk[96]; in mbedtls_des3_set3key_dec() local
617 des3_set3key( sk, ctx->sk, key ); in mbedtls_des3_set3key_dec()
618 mbedtls_platform_zeroize( sk, sizeof( sk ) ); in mbedtls_des3_set3key_dec()
634 SK = ctx->sk; in mbedtls_des_crypt_ecb()
721 SK = ctx->sk; in mbedtls_des3_crypt_ecb()