Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/library/
Dsha256.c137 static const uint32_t K[] = variable
175 #define P(a,b,c,d,e,f,g,h,x,K) \ argument
177 temp1 = h + S3(e) + F1(e,f,g) + K + x; \
199 P( A[0], A[1], A[2], A[3], A[4], A[5], A[6], A[7], W[i], K[i] ); in mbedtls_sha256_process()
210 P( A[0], A[1], A[2], A[3], A[4], A[5], A[6], A[7], W[i+0], K[i+0] ); in mbedtls_sha256_process()
211 P( A[7], A[0], A[1], A[2], A[3], A[4], A[5], A[6], W[i+1], K[i+1] ); in mbedtls_sha256_process()
212 P( A[6], A[7], A[0], A[1], A[2], A[3], A[4], A[5], W[i+2], K[i+2] ); in mbedtls_sha256_process()
213 P( A[5], A[6], A[7], A[0], A[1], A[2], A[3], A[4], W[i+3], K[i+3] ); in mbedtls_sha256_process()
214 P( A[4], A[5], A[6], A[7], A[0], A[1], A[2], A[3], W[i+4], K[i+4] ); in mbedtls_sha256_process()
215 P( A[3], A[4], A[5], A[6], A[7], A[0], A[1], A[2], W[i+5], K[i+5] ); in mbedtls_sha256_process()
[all …]
Dsha512.c155 static const uint64_t K[80] = variable
217 #define P(a,b,c,d,e,f,g,h,x,K) \ in mbedtls_sha512_process() argument
219 temp1 = h + S3(e) + F1(e,f,g) + K + x; \ in mbedtls_sha512_process()
247 P( A, B, C, D, E, F, G, H, W[i], K[i] ); i++; in mbedtls_sha512_process()
248 P( H, A, B, C, D, E, F, G, W[i], K[i] ); i++; in mbedtls_sha512_process()
249 P( G, H, A, B, C, D, E, F, W[i], K[i] ); i++; in mbedtls_sha512_process()
250 P( F, G, H, A, B, C, D, E, W[i], K[i] ); i++; in mbedtls_sha512_process()
251 P( E, F, G, H, A, B, C, D, W[i], K[i] ); i++; in mbedtls_sha512_process()
252 P( D, E, F, G, H, A, B, C, W[i], K[i] ); i++; in mbedtls_sha512_process()
253 P( C, D, E, F, G, H, A, B, W[i], K[i] ); i++; in mbedtls_sha512_process()
[all …]
Dripemd160.c156 P( a, b, c, d, e, r, s, F, K ); \ in mbedtls_ripemd160_process()
160 #define K 0x00000000 in mbedtls_ripemd160_process() macro
180 #undef K in mbedtls_ripemd160_process()
185 #define K 0x5A827999 in mbedtls_ripemd160_process() macro
205 #undef K in mbedtls_ripemd160_process()
210 #define K 0x6ED9EBA1 in mbedtls_ripemd160_process() macro
230 #undef K in mbedtls_ripemd160_process()
235 #define K 0x8F1BBCDC in mbedtls_ripemd160_process() macro
255 #undef K in mbedtls_ripemd160_process()
260 #define K 0xA953FD4E in mbedtls_ripemd160_process() macro
[all …]
Ddhm.c375 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &ctx->K, &GYb, &ctx->X, in mbedtls_dhm_calc_secret()
381 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ctx->K, &ctx->K, &ctx->Vf ) ); in mbedtls_dhm_calc_secret()
382 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &ctx->K, &ctx->K, &ctx->P ) ); in mbedtls_dhm_calc_secret()
385 *olen = mbedtls_mpi_size( &ctx->K ); in mbedtls_dhm_calc_secret()
387 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &ctx->K, output, *olen ) ); in mbedtls_dhm_calc_secret()
404 mbedtls_mpi_free( &ctx->RP ); mbedtls_mpi_free( &ctx->K ); mbedtls_mpi_free( &ctx->GY ); in mbedtls_dhm_free()
Dsha1.c145 e += S(a,5) + F(b,c,d) + K + x; b = S(b,30); \ in mbedtls_sha1_process()
155 #define K 0x5A827999 in mbedtls_sha1_process() macro
178 #undef K in mbedtls_sha1_process()
182 #define K 0x6ED9EBA1 in mbedtls_sha1_process() macro
205 #undef K in mbedtls_sha1_process()
209 #define K 0x8F1BBCDC in mbedtls_sha1_process() macro
232 #undef K in mbedtls_sha1_process()
236 #define K 0xCA62C1D6 in mbedtls_sha1_process() macro
259 #undef K in mbedtls_sha1_process()
Decjpake.c723 mbedtls_ecp_point K; in mbedtls_ecjpake_derive_secret() local
732 mbedtls_ecp_point_init( &K ); in mbedtls_ecjpake_derive_secret()
745 MBEDTLS_MPI_CHK( mbedtls_ecp_muladd( &ctx->grp, &K, in mbedtls_ecjpake_derive_secret()
748 MBEDTLS_MPI_CHK( mbedtls_ecp_mul( &ctx->grp, &K, &ctx->xm2, &K, in mbedtls_ecjpake_derive_secret()
753 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &K.X, kx, x_bytes ) ); in mbedtls_ecjpake_derive_secret()
757 mbedtls_ecp_point_free( &K ); in mbedtls_ecjpake_derive_secret()
Dhmac_drbg.c79 unsigned char K[MBEDTLS_MD_MAX_SIZE]; in mbedtls_hmac_drbg_update() local
89 mbedtls_md_hmac_finish( &ctx->md_ctx, K ); in mbedtls_hmac_drbg_update()
92 mbedtls_md_hmac_starts( &ctx->md_ctx, K, md_len ); in mbedtls_hmac_drbg_update()
Dssl_cli.c2769 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: K ", &ssl->handshake->dhm_ctx.K );
Dssl_srv.c3332 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: K ", &ssl->handshake->dhm_ctx.K );
Dssl_tls.c1152 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: K ", &ssl->handshake->dhm_ctx.K ); in mbedtls_ssl_psk_derive_premaster()
/net-tools-latest/
Dclient.crt6 p/K+pYJNcsuoWPFrDj8jTwFAP61EtfL572c8zCDiT6Iw2j/pJTryRL3py5JsHJcA
Dhttps-server.pem10 lv11XF4vZUErIaUtaFUjsn+K+2EtuoNryW6Q2hOlk/OAXpO8vEO7eg4FfnQpxkru
/net-tools-latest/mbedtls-2.4.0/tests/data_files/
Dserver1.req.sha38414 K+PNQvoz425dHK3dHzeoIWD2Ka25mbjglbW1rqAdTkZSYH2QqZTHsKCr0u5iPtSD
Dkeyfile.3des5 9ZXjoF55A9XgJpdaWmF/ZL1sJfbnE1M42N7HHRDwpq1/K+afC9poM0/AdCUbRL7w
Dpkcs8_pbes2_pbkdf2_des.key25 JsehmIOY2U6fQBEnZhn5D0rjU+nUlHvgKQKhs9yIym/K+KVUznJW4ygwFiKXysVq
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Ddhm.h157 mbedtls_mpi K; /*!< key = GY^X mod P */ member
/net-tools-latest/mbedtls-2.4.0/
DChangeLog782 * Fix preprocessor checks for bn_mul PPC asm (found by Barry K. Nathan).
784 interpret semicolons as comment delimiters (found by Barry K. Nathan).
829 (found by Barry K. Nathan)
1258 * Fix preprocessor checks for bn_mul PPC asm (found by Barry K. Nathan).
1260 interpret semicolons as comment delimiters (found by Barry K. Nathan).