mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-30 11:04:25 +00:00
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fixes from Herbert Xu: "This fixes a sporadic build failure in the qat driver as well as a memory corruption bug in rsa-pkcs1pad" * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: rsa-pkcs1pad - fix rsa-pkcs1pad request struct crypto: qat - make qat_asym_algs.o depend on asn1 headers
This commit is contained in:
commit
48d4ca5639
2 changed files with 3 additions and 2 deletions
|
@ -102,10 +102,10 @@ struct pkcs1pad_inst_ctx {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct pkcs1pad_request {
|
struct pkcs1pad_request {
|
||||||
struct akcipher_request child_req;
|
|
||||||
|
|
||||||
struct scatterlist in_sg[3], out_sg[2];
|
struct scatterlist in_sg[3], out_sg[2];
|
||||||
uint8_t *in_buf, *out_buf;
|
uint8_t *in_buf, *out_buf;
|
||||||
|
|
||||||
|
struct akcipher_request child_req;
|
||||||
};
|
};
|
||||||
|
|
||||||
static int pkcs1pad_set_pub_key(struct crypto_akcipher *tfm, const void *key,
|
static int pkcs1pad_set_pub_key(struct crypto_akcipher *tfm, const void *key,
|
||||||
|
|
|
@ -2,6 +2,7 @@ $(obj)/qat_rsapubkey-asn1.o: $(obj)/qat_rsapubkey-asn1.c \
|
||||||
$(obj)/qat_rsapubkey-asn1.h
|
$(obj)/qat_rsapubkey-asn1.h
|
||||||
$(obj)/qat_rsaprivkey-asn1.o: $(obj)/qat_rsaprivkey-asn1.c \
|
$(obj)/qat_rsaprivkey-asn1.o: $(obj)/qat_rsaprivkey-asn1.c \
|
||||||
$(obj)/qat_rsaprivkey-asn1.h
|
$(obj)/qat_rsaprivkey-asn1.h
|
||||||
|
$(obj)/qat_asym_algs.o: $(obj)/qat_rsapubkey-asn1.h $(obj)/qat_rsaprivkey-asn1.h
|
||||||
|
|
||||||
clean-files += qat_rsapubkey-asn1.c qat_rsapubkey-asn1.h
|
clean-files += qat_rsapubkey-asn1.c qat_rsapubkey-asn1.h
|
||||||
clean-files += qat_rsaprivkey-asn1.c qat_rsaprivkey-asn1.h
|
clean-files += qat_rsaprivkey-asn1.c qat_rsaprivkey-asn1.h
|
||||||
|
|
Loading…
Add table
Reference in a new issue