diff options
| author | Michael Brown | 2025-12-02 14:12:25 +0100 |
|---|---|---|
| committer | Michael Brown | 2025-12-02 14:12:25 +0100 |
| commit | 1ccc320ee99651622ced9b33764d5e7890ca3f57 (patch) | |
| tree | 8915b83470bd0b1e320223a8310540ef9c247feb /src/crypto/crypto_null.c | |
| parent | [crypto] Construct signatures using ASN.1 builders (diff) | |
| download | ipxe-1ccc320ee99651622ced9b33764d5e7890ca3f57.tar.gz ipxe-1ccc320ee99651622ced9b33764d5e7890ca3f57.tar.xz ipxe-1ccc320ee99651622ced9b33764d5e7890ca3f57.zip | |
[crypto] Construct asymmetric ciphered data using ASN.1 builders
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto/crypto_null.c')
| -rw-r--r-- | src/crypto/crypto_null.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/crypto/crypto_null.c b/src/crypto/crypto_null.c index ee948e00d..e8f8cbde8 100644 --- a/src/crypto/crypto_null.c +++ b/src/crypto/crypto_null.c @@ -98,16 +98,14 @@ size_t pubkey_null_max_len ( const struct asn1_cursor *key __unused ) { } int pubkey_null_encrypt ( const struct asn1_cursor *key __unused, - const void *plaintext __unused, - size_t plaintext_len __unused, - void *ciphertext __unused ) { + const struct asn1_cursor *plaintext __unused, + struct asn1_builder *ciphertext __unused ) { return 0; } int pubkey_null_decrypt ( const struct asn1_cursor *key __unused, - const void *ciphertext __unused, - size_t ciphertext_len __unused, - void *plaintext __unused ) { + const struct asn1_cursor *ciphertext __unused, + struct asn1_builder *plaintext __unused ) { return 0; } |
