Searched defs:pubkey (Results 1 - 9 of 9) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dcms.h30 struct pubkey_algorithm *pubkey; member in struct:cms_signer_info
H A Dasn1.h238 struct pubkey_algorithm *pubkey; member in struct:asn1_algorithm
H A Dcrypto.h211 static inline int pubkey_init ( struct pubkey_algorithm *pubkey, void *ctx, argument
213 return pubkey->init ( ctx, key, key_len );
216 static inline size_t pubkey_max_len ( struct pubkey_algorithm *pubkey, argument
218 return pubkey->max_len ( ctx );
221 static inline int pubkey_encrypt ( struct pubkey_algorithm *pubkey, void *ctx, argument
223 return pubkey->encrypt ( ctx, data, len, out );
226 static inline int pubkey_decrypt ( struct pubkey_algorithm *pubkey, void *ctx, argument
228 return pubkey->decrypt ( ctx, data, len, out );
231 static inline int pubkey_sign ( struct pubkey_algorithm *pubkey, void *ctx, argument
234 return pubkey
237 pubkey_verify( struct pubkey_algorithm *pubkey, void *ctx, struct digest_algorithm *digest, const void *value, const void *signature, size_t signature_len ) argument
244 pubkey_final( struct pubkey_algorithm *pubkey, void *ctx ) argument
[all...]
H A Dtls.h114 struct pubkey_algorithm *pubkey; member in struct:tls_cipher_suite
154 struct pubkey_algorithm *pubkey; member in struct:tls_signature_hash_algorithm
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/
H A Dcms.c292 info->pubkey = algorithm->pubkey;
579 struct pubkey_algorithm *pubkey = info->pubkey; local
582 uint8_t ctx[ pubkey->ctxsize ];
589 if ( ( rc = pubkey_init ( pubkey, ctx, public_key->raw.data,
597 if ( ( rc = pubkey_verify ( pubkey, ctx, digest, digest_out,
606 pubkey_final ( pubkey, ctx );
H A Docsp.c637 struct pubkey_algorithm *pubkey = response->algorithm->pubkey; local
641 uint8_t pubkey_ctx[ pubkey->ctxsize ];
651 if ( ( rc = pubkey_init ( pubkey, pubkey_ctx, public_key->raw.data,
659 if ( ( rc = pubkey_verify ( pubkey, pubkey_ctx, digest, digest_out,
671 pubkey_final ( pubkey, pubkey_ctx );
H A Dx509.c1093 struct pubkey_algorithm *pubkey = algorithm->pubkey; local
1096 uint8_t pubkey_ctx[ pubkey->ctxsize ];
1110 if ( public_key->algorithm->pubkey != pubkey ) {
1120 if ( ( rc = pubkey_init ( pubkey, pubkey_ctx, public_key->raw.data,
1126 if ( ( rc = pubkey_verify ( pubkey, pubkey_ctx, digest, digest_out,
1138 pubkey_final ( pubkey, pubkey_ctx );
/vbox/src/VBox/RDP/client-1.8.3/
H A Dcssp.c561 cssp_send_tsrequest(STREAM token, STREAM auth, STREAM pubkey) argument
617 if (pubkey && s_length(pubkey))
619 h2 = ber_wrap_hdr_data(BER_TAG_OCTET_STRING, pubkey);
655 cssp_read_tsrequest(STREAM token, STREAM pubkey) argument
728 if (pubkey)
737 pubkey->data = pubkey->p = s->p;
738 pubkey->end = pubkey
760 struct stream pubkey = { 0 }; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dtls.c531 .pubkey = &pubkey_null,
541 .pubkey = &rsa_algorithm,
548 .pubkey = &rsa_algorithm,
555 .pubkey = &rsa_algorithm,
562 .pubkey = &rsa_algorithm,
602 pubkey_final ( cipherspec->suite->pubkey,
621 struct pubkey_algorithm *pubkey = suite->pubkey; local
631 total = ( pubkey->ctxsize + 2 * cipher->ctxsize + digest->digestsize );
641 cipherspec->pubkey_ctx = dynamic; dynamic += pubkey
747 tls_signature_hash_algorithm( struct pubkey_algorithm *pubkey, struct digest_algorithm *digest ) argument
976 struct pubkey_algorithm *pubkey = cipherspec->suite->pubkey; local
1020 struct pubkey_algorithm *pubkey = tls->verify_pubkey; local
2203 struct pubkey_algorithm *pubkey = cipherspec->suite->pubkey; local
[all...]

Completed in 58 milliseconds