Searched refs:cty (Results 1 – 2 of 2) sorted by relevance
452 mbedtls_camellia_context cty; in mbedtls_camellia_setkey_dec() local456 mbedtls_camellia_init( &cty ); in mbedtls_camellia_setkey_dec()459 if( ( ret = mbedtls_camellia_setkey_enc( &cty, key, keybits ) ) != 0 ) in mbedtls_camellia_setkey_dec()462 ctx->nr = cty.nr; in mbedtls_camellia_setkey_dec()466 SK = cty.rk + 24 * 2 + 8 * idx * 2; in mbedtls_camellia_setkey_dec()487 mbedtls_camellia_free( &cty ); in mbedtls_camellia_setkey_dec()
602 mbedtls_aes_context cty; in mbedtls_aes_setkey_dec() local606 mbedtls_aes_init( &cty ); in mbedtls_aes_setkey_dec()619 if( ( ret = mbedtls_aes_setkey_enc( &cty, key, keybits ) ) != 0 ) in mbedtls_aes_setkey_dec()622 ctx->nr = cty.nr; in mbedtls_aes_setkey_dec()628 (const unsigned char *) cty.rk, ctx->nr ); in mbedtls_aes_setkey_dec()633 SK = cty.rk + cty.nr * 4; in mbedtls_aes_setkey_dec()657 mbedtls_aes_free( &cty ); in mbedtls_aes_setkey_dec()