Implementing padding in a white-box implementation
Implementing padding in a white box implementation is provided; a secret key encrypted operational method can map an input message with a coding portion and a padding portion to an output message; the method comprises the following steps: receiving a padding value k; receiving the input message, whe...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Implementing padding in a white box implementation is provided; a secret key encrypted operational method can map an input message with a coding portion and a padding portion to an output message; the method comprises the following steps: receiving a padding value k; receiving the input message, wherein the padding portion has the size indicated by the padding value k; calculating the first portion of the encrypted operation so as to generate the first portion output; calculating a compensation factor corresponding to the padding portion of the input message; compensating the first portion output according to the compensation factor.
在白盒实现方案中实现填充。种加密钥的加密运算方法,用于将具有编码部分和填充部分的输入消息映射到输出消息,该方法包括:接收填充值k;接收输入消息,其中,填充部分具有由填充值k指示的大小;计算加密运算的第部分,以产生第部分输出;计算与输入消息的填充部分相对应的补偿因数;以及基于补偿因数,补偿第部分输出。 |
---|