This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: vrfy mac | |
vrfy: vrfy.o cbcmac.o aes_core.o | |
gcc -o vrfy vrfy.o cbcmac.o aes_core.o -lpthread | |
mac: mac.o cbcmac.o aes_core.o | |
gcc -o mac mac.o cbcmac.o aes_core.o -lpthread | |
clean: | |
rm -f mac.o aes_core.o cbcmac.o mac.o vrfy.o vrfy mac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\newcommand{\scalemath}[2]{\scalebox{#1}{\begin{math} {#2} \end{math}}} | |
\newcommand{\Aprime}{\scalemath{0.5}{\begin{matrix} \Amm & \Abound \\ \zm & -\Idm \end{matrix}}} | |
\newcommand{\Gprime}{\scalemath{0.5}{\begin{matrix} \zm & \zm \\ \zm & \bm \end{matrix}}} | |
\newcommand{\Qprime}{\scalemath{0.5}{\begin{matrix} \Qm \\ \zm \end{matrix}}} | |
Combining the above with the Jacobian matrix as derived in \cref{sec:llg-magn-coupl}, the complete Jacobian is | |
\begin{equation} | |
\Jm = | |
\scalemath{2}{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun dwim-entire-line (function) | |
(if (region-active-p) | |
(funcall function (region-beginning) (region-end)) | |
;; else | |
(funcall function (point-at-bol) (point-at-beginning-of-next-line)))) | |
(global-set-key (kbd "M-;") (lambda () (interactive) | |
(dwim-entire-line 'comment-or-uncomment-region))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun true1 () t) | |
(setq function-list (list #'true1)) | |
(cons 'or function-list) | |
(eval (cons 'or function-list)) |
NewerOlder