Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 57) sorted by relevance

123

/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Drsa.h261 int mode, size_t ilen,
284 int mode, size_t ilen,
310 int mode,
339 int mode, size_t *olen,
365 int mode, size_t *olen,
393 int mode,
427 int mode,
454 int mode,
487 int mode,
519 int mode,
[all …]
Dpkcs11.h112 int mode, size_t *olen,
134 int mode,
143 static inline int mbedtls_ssl_pkcs11_decrypt( void *ctx, int mode, size_t *olen, in mbedtls_ssl_pkcs11_decrypt() argument
147 return mbedtls_pkcs11_decrypt( (mbedtls_pkcs11_context *) ctx, mode, olen, input, output, in mbedtls_ssl_pkcs11_decrypt()
153 int mode, mbedtls_md_type_t md_alg, unsigned int hashlen, in mbedtls_ssl_pkcs11_sign() argument
158 return mbedtls_pkcs11_sign( (mbedtls_pkcs11_context *) ctx, mode, md_alg, in mbedtls_ssl_pkcs11_sign()
Daes.h115 int mode,
143 int mode,
177 int mode,
209 int mode,
Dcamellia.h108 int mode,
137 int mode,
172 int mode,
Dcipher_internal.h49 int (*ecb_func)( void *ctx, mbedtls_operation_t mode,
54 int (*cbc_func)( void *ctx, mbedtls_operation_t mode, size_t length,
61 int (*cfb_func)( void *ctx, mbedtls_operation_t mode, size_t length, size_t *iv_off,
Dblowfish.h100 int mode,
129 int mode,
159 int mode,
Dgcm.h52 int mode; /*!< Encrypt or Decrypt */ member
103 int mode,
159 int mode,
Dpadlock.h78 int mode,
95 int mode,
Dxtea.h90 int mode,
109 int mode,
Dpkcs12.h62 int mbedtls_pkcs12_pbe_sha1_rc4_128( mbedtls_asn1_buf *pbe_params, int mode,
83 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode,
Ddes.h224 int mode,
266 int mode,
/net-tools-3.6.0/libcoap/examples/
DREADME.etsi_iot14 [+] TD_COAP_CORE_01 Perform GET transaction (CON mode)
15 [+] TD_COAP_CORE_02 Perform POST transaction (CON mode)
16 [+] TD_COAP_CORE_03 Perform PUT transaction (CON mode)
17 [+] TD_COAP_CORE_04 Perform DELETE transaction (CON mode)
18 [+] TD_COAP_CORE_05 Perform GET transaction (NON mode)
19 [+] TD_COAP_CORE_06 Perform POST transaction (NON mode)
20 [+] TD_COAP_CORE_07 Perform PUT transaction (NON mode)
21 [+] TD_COAP_CORE_08 Perform DELETE transaction (NON mode)
22 [+] TD_COAP_CORE_09 Perform GET transaction with delayed response (CON mode, no piggyback)
27 [?] TD_COAP_CORE_14 Interoperate in lossy context (CON mode, piggybacked response)
[all …]
/net-tools-3.6.0/mbedtls-2.4.0/library/
Dcipher.c118 const mbedtls_cipher_mode_t mode ) in mbedtls_cipher_info_from_values() argument
125 def->info->mode == mode ) in mbedtls_cipher_info_from_values()
200 MBEDTLS_MODE_CFB == ctx->cipher_info->mode || in mbedtls_cipher_setkey()
201 MBEDTLS_MODE_CTR == ctx->cipher_info->mode ) in mbedtls_cipher_setkey()
260 if( MBEDTLS_MODE_GCM == ctx->cipher_info->mode ) in mbedtls_cipher_update_ad()
284 if( ctx->cipher_info->mode == MBEDTLS_MODE_ECB ) in mbedtls_cipher_update()
301 if( ctx->cipher_info->mode == MBEDTLS_MODE_GCM ) in mbedtls_cipher_update()
321 if( ctx->cipher_info->mode == MBEDTLS_MODE_CBC ) in mbedtls_cipher_update()
405 if( ctx->cipher_info->mode == MBEDTLS_MODE_CFB ) in mbedtls_cipher_update()
421 if( ctx->cipher_info->mode == MBEDTLS_MODE_CTR ) in mbedtls_cipher_update()
[all …]
Drsa.c509 int mode, in mbedtls_rsa_rsaes_oaep_encrypt() argument
522 if( mode == MBEDTLS_RSA_PRIVATE && ctx->padding != MBEDTLS_RSA_PKCS_V21 ) in mbedtls_rsa_rsaes_oaep_encrypt()
573 return( ( mode == MBEDTLS_RSA_PUBLIC ) in mbedtls_rsa_rsaes_oaep_encrypt()
586 int mode, size_t ilen, in mbedtls_rsa_rsaes_pkcs1_v15_encrypt() argument
594 if( mode == MBEDTLS_RSA_PRIVATE && ctx->padding != MBEDTLS_RSA_PKCS_V15 ) in mbedtls_rsa_rsaes_pkcs1_v15_encrypt()
610 if( mode == MBEDTLS_RSA_PUBLIC ) in mbedtls_rsa_rsaes_pkcs1_v15_encrypt()
640 return( ( mode == MBEDTLS_RSA_PUBLIC ) in mbedtls_rsa_rsaes_pkcs1_v15_encrypt()
652 int mode, size_t ilen, in mbedtls_rsa_pkcs1_encrypt() argument
660 return mbedtls_rsa_rsaes_pkcs1_v15_encrypt( ctx, f_rng, p_rng, mode, ilen, in mbedtls_rsa_pkcs1_encrypt()
666 return mbedtls_rsa_rsaes_oaep_encrypt( ctx, f_rng, p_rng, mode, NULL, 0, in mbedtls_rsa_pkcs1_encrypt()
[all …]
Dpadlock.c81 int mode, in mbedtls_padlock_xcryptecb() argument
96 *ctrl = 0x80 | ctx->nr | ( ( ctx->nr + ( mode^1 ) - 10 ) << 9 ); in mbedtls_padlock_xcryptecb()
121 int mode, in mbedtls_padlock_xcryptcbc() argument
143 *ctrl = 0x80 | ctx->nr | ( ( ctx->nr + ( mode ^ 1 ) - 10 ) << 9 ); in mbedtls_padlock_xcryptcbc()
Dxtea.c104 int mbedtls_xtea_crypt_ecb( mbedtls_xtea_context *ctx, int mode, in mbedtls_xtea_crypt_ecb() argument
114 if( mode == MBEDTLS_XTEA_ENCRYPT ) in mbedtls_xtea_crypt_ecb()
147 int mbedtls_xtea_crypt_cbc( mbedtls_xtea_context *ctx, int mode, size_t length, in mbedtls_xtea_crypt_cbc() argument
157 if( mode == MBEDTLS_XTEA_DECRYPT ) in mbedtls_xtea_crypt_cbc()
162 mbedtls_xtea_crypt_ecb( ctx, mode, input, output ); in mbedtls_xtea_crypt_cbc()
181 mbedtls_xtea_crypt_ecb( ctx, mode, output, output ); in mbedtls_xtea_crypt_cbc()
Dblowfish.c233 int mode, in mbedtls_blowfish_crypt_ecb() argument
242 if( mode == MBEDTLS_BLOWFISH_DECRYPT ) in mbedtls_blowfish_crypt_ecb()
262 int mode, in mbedtls_blowfish_crypt_cbc() argument
274 if( mode == MBEDTLS_BLOWFISH_DECRYPT ) in mbedtls_blowfish_crypt_cbc()
279 mbedtls_blowfish_crypt_ecb( ctx, mode, input, output ); in mbedtls_blowfish_crypt_cbc()
298 mbedtls_blowfish_crypt_ecb( ctx, mode, output, output ); in mbedtls_blowfish_crypt_cbc()
316 int mode, in mbedtls_blowfish_crypt_cfb64() argument
326 if( mode == MBEDTLS_BLOWFISH_DECRYPT ) in mbedtls_blowfish_crypt_cfb64()
Dpkcs11.c130 int mode, size_t *olen, in mbedtls_pkcs11_decrypt() argument
140 if( MBEDTLS_RSA_PRIVATE != mode ) in mbedtls_pkcs11_decrypt()
168 int mode, in mbedtls_pkcs11_sign() argument
181 if( MBEDTLS_RSA_PRIVATE != mode ) in mbedtls_pkcs11_sign()
Dpkcs12.c135 int mbedtls_pkcs12_pbe_sha1_rc4_128( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe_sha1_rc4_128() argument
142 ((void) mode); in mbedtls_pkcs12_pbe_sha1_rc4_128()
153 ((void) mode); in mbedtls_pkcs12_pbe_sha1_rc4_128()
176 int mbedtls_pkcs12_pbe( mbedtls_asn1_buf *pbe_params, int mode, in mbedtls_pkcs12_pbe() argument
207 …if( ( ret = mbedtls_cipher_setkey( &cipher_ctx, key, 8 * keylen, (mbedtls_operation_t) mode ) ) !=… in mbedtls_pkcs12_pbe()
/net-tools-3.6.0/
Dzeth-tunnel.conf40 ip tunnel add name ${TUNNEL_V4V4} mode ipip local ${IPV4_ADDR_LOCAL} \
43 ip tunnel add name ${TUNNEL_V6V4} mode sit local ${IPV4_ADDR_LOCAL} \
46 ip tunnel add name ${TUNNEL_V4V6} mode ipip6 local ${IPV6_ADDR_LOCAL} \
52 remote ${IPV6_ADDR_REMOTE} mode ip6ip6
53 ip tunnel add name ${TUNNEL_V6V6} mode ip6ip6 local ${IPV6_ADDR_LOCAL} \
/net-tools-3.6.0/mbedtls-2.4.0/programs/pkey/
Dkey_app_writer.c99 int mode; /* the mode to run the application in */ member
212 opt.mode = DFL_MODE; in main()
228 opt.mode = MODE_PRIVATE; in main()
230 opt.mode = MODE_PUBLIC; in main()
263 if( opt.mode == MODE_NONE && opt.output_mode != OUTPUT_MODE_NONE ) in main()
269 if( opt.mode == MODE_PUBLIC && opt.output_mode == OUTPUT_MODE_PRIVATE ) in main()
275 if( opt.mode == MODE_PRIVATE ) in main()
328 else if( opt.mode == MODE_PUBLIC ) in main()
Dkey_app.c78 int mode; /* the mode to run the application in */ member
105 opt.mode = DFL_MODE; in main()
120 opt.mode = MODE_PRIVATE; in main()
122 opt.mode = MODE_PUBLIC; in main()
136 if( opt.mode == MODE_PRIVATE ) in main()
219 else if( opt.mode == MODE_PUBLIC ) in main()
/net-tools-3.6.0/mbedtls-2.4.0/programs/aes/
Daescrypt2.c77 int mode, lastn; in main() local
125 mode = atoi( argv[1] ); in main()
131 if( mode != MODE_ENCRYPT && mode != MODE_DECRYPT ) in main()
224 if( mode == MODE_ENCRYPT ) in main()
320 if( mode == MODE_DECRYPT ) in main()
Dcrypt_and_hash.c77 int mode; in main() local
140 mode = atoi( argv[1] ); in main()
142 if( mode != MODE_ENCRYPT && mode != MODE_DECRYPT ) in main()
263 if( mode == MODE_ENCRYPT ) in main()
381 if( mode == MODE_DECRYPT ) in main()
407 if( cipher_info->mode != MBEDTLS_MODE_GCM && in main()
/net-tools-3.6.0/mbedtls-2.4.0/programs/x509/
Dcert_app.c105 int mode; /* the mode to run the application in */ member
187 opt.mode = DFL_MODE; in main()
213 opt.mode = MODE_FILE; in main()
215 opt.mode = MODE_SSL; in main()
285 if( opt.mode == MODE_FILE ) in main()
361 else if( opt.mode == MODE_SSL ) in main()

123